package io.renren.modules.archive.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.archive.entity.ArchiveCollectEntity;
import io.renren.modules.sys.entity.SysMenuEntity;


import java.util.List;
import java.util.Map;

/**
 * ${comments}
 *
 * @author lizeliang
 * @email 2749877017@qq.com
 * @date 2023-08-29 13:06:15
 */
public interface ArchiveCollectService extends IService<ArchiveCollectEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<ArchiveCollectEntity> getArchivecollectList();

    List<ArchiveCollectEntity> getArchivecollectAllList();


    List<ArchiveCollectEntity> getQxList(List<Long> qxList);

    /**
     * 获取当前菜单（包括父菜单）
     */
    List<ArchiveCollectEntity> queryLocalMenu(Map<String, Object> params);

    List<ArchiveCollectEntity> queryLocalMenuHaveLevelNull(Map<String, Object> params);

    List<ArchiveCollectEntity> queryMenuByLevelAndParentId(List<Long> ndJgMenuList,Long parentId);

    List<ArchiveCollectEntity> queryMenuByLevelAndMenuId(List<Long> ndJgMenuList,Long menuId);

    List<ArchiveCollectEntity> selectByParentIdAndLevel(ArchiveCollectEntity archiveCollectEntity);
    /**
     * 根据父菜单，查询子菜单
     * @param parentId 父菜单ID
     */
    List<ArchiveCollectEntity> queryListParentId(Long parentId);
    /**
     * 删除
     */
    void delete(Long menuId);
}

